powered by
Methods for "[", i.e., subsetting of repgrid objects.
"["
# S4 method for repgrid [(x, i, j, ..., drop = TRUE)
A repgrid object.
repgrid
Row and column indices.
Not evaluated.
Not used.
x <- randomGrid() x[1:4, ] x[ , 1:3] x[1:4,1:3] x[1,1]
Run the code above in your browser using DataLab